package com.gla.market.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ShopInCart implements Serializable {
    private Integer id;
    private String name;
    private Boolean choosed;
    private List<ShopCart> list;
    private String remarks;

    public ShopInCart() {
        this.choosed = false;
        list = new ArrayList<>();
    }

    public ShopInCart(Integer id, String name, Boolean choosed, List<ShopCart> list, String remarks) {
        this.id = id;
        this.name = name;
        this.choosed = choosed;
        this.list = list;
        this.remarks = remarks;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Boolean getChoosed() {
        return choosed;
    }

    public void setChoosed(Boolean choose) {
        this.choosed = choose;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ShopCart> getList() {
        return list;
    }

    public void setList(List<ShopCart> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "ShopInCart{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", choosed=" + choosed +
                ", list=" + list +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
